#include "widget.h"
#include "ui_widget.h"
#include <QDebug>

Widget::Widget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Widget)
{
    ui->setupUi(this);
    ui->title->setText("嘿嘿嘿");

//    connect(ui->resetBtn, &QPushButton::clicked, [](){
//        qDebug() << "啊，我被按了一下";
//    });
}

Widget::~Widget()
{
    delete ui;
}

void Widget::on_resetBtn_clicked()
{
    qDebug()<< "on_resetBtn_clicked被触发";
}
